package com.itheima.demo.demo12;

import com.itheima.demo.Demo06.Runable;

public class LambaRunable02 {
    public static void main(String[] args) {
    new Thread(method()).start();
    }
    private static Runnable method() {
      return ()->{
          System.out.println("返回Rable，里面的run方法执行");
      };
    }
}
